import React from 'react';
// import { View, Text } from 'react-native';
import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs';
import ImportantWork from '../ImportantWork';
import TaskManagement from '../TaskManagement';
import Note from '../Note';

const Tobtab = createMaterialTopTabNavigator();

const Start = () => (
    <Tobtab.Navigator
        initialRouteName="要事提醒"
        screenOptions={() => ({
            tabBarActiveTintColor: '#0079FF',
            tabBarInactiveTintColor: '#8F8F8F',
        })
        }
    >
        <Tobtab.Screen name="笔记" component={Note} />
        <Tobtab.Screen name="要事提醒" component={ImportantWork} />
        <Tobtab.Screen name="任务管理" component={TaskManagement} />
    </Tobtab.Navigator>
);

export default Start;
